let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n136,
                    i =
                    (this && this.__extends) ||
                    ((_n136 = function n(t, e) {
                            return (_n136 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n136(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        }),
                    r =
                    (this && this.__decorate) ||
                    function(t, e, o, n) {
                        var i,
                            r = arguments.length,
                            a =
                            r < 3 ?
                            e :
                            null === n ?
                            (n = Object.getOwnPropertyDescriptor(e, o)) :
                            n;
                        if (
                            'object' ==
                            (typeof Reflect === 'undefined' ?
                                'undefined' :
                                typeof(Reflect)) &&
                            'function' == typeof Reflect.decorate
                        )
                            a = Reflect.decorate(t, e, o, n);
                        else
                            for (var s = t.length - 1; s >= 0; s--) {
                                (i = t[s]) &&
                                (a = (r < 3 ? i(a) : r > 3 ? i(e, o, a) : i(e, o)) || a);
                            }
                        return r > 3 && a && Object.defineProperty(e, o, a), a;
                    };
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.PausePanel = void 0);
                var a = t('UIPanel'),
                    s = t('UIViewRes'),
                    c = t('UILayer'),
                    l = t('ComUtils'),
                    u = t('SoundMrg'),
                    h = t('UIMrg'),
                    p = t('BattlePanel'),
                    f = t('MainPanel'),
                    d = t('PlayerMrg'),
                    g = t('ActivityPanel'),
                    _ = t('ChapterPanel'),
                    y = t('LangCfg'),
                    C = cc._decorator,
                    m = C.ccclass,
                    v =
                    (C.property,
                        (function(t) {
                            function e() {
                                return (null !== t && t.apply(this, arguments)) || this;
                            }
                            return (
                                i(e, t),
                                (e.prototype.onInit = function() {
                                    t.prototype.onInit.call(this),
                                        l.default
                                        .getNode(this.view, 'root/btnExit')
                                        .on(
                                            cc.Node.EventType.TOUCH_END,
                                            this.onTouchExitHandler,
                                            this
                                        ),
                                        l.default
                                        .getNode(this.view, 'root/btnContinue')
                                        .on(
                                            cc.Node.EventType.TOUCH_END,
                                            this.onTouchContinueHandler,
                                            this
                                        ),
                                        (this._anim = this.view.getComponent(cc.Animation));
                                }),
                                (e.prototype.onShow = function() {
                                    t.prototype.onShow.call(this),
                                        this._anim.play('PauseView'),
                                        (this._type = this.getData().type);
                                }),
                                (e.prototype.onClose = function() {
                                    t.prototype.onClose.call(this), this.setData(null);
                                }),
                                (e.prototype.onLang = function() {
                                    var t = l.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/New Node/txtTitle'
                                    );
                                    (t.string = y.LangCfg.ins.getContent(201500)),
                                    ((t = l.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/btnContinue/Background/txtLabel'
                                    )).string = y.LangCfg.ins.getContent(201501)),
                                    ((t = l.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/btnExit/Background/txtLabel'
                                    )).string = y.LangCfg.ins.getContent(201502)),
                                    ((t = l.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/New Node/New Label'
                                    )).string = y.LangCfg.ins.getContent(201503)),
                                    ((t = l.default.getComponent(
                                        cc.Label,
                                        this.view,
                                        'root/New Node/New Label copy'
                                    )).string = y.LangCfg.ins.getContent(201504));
                                }),
                                (e.prototype.onTouchExitHandler = function() {
                                    u.SoundMrg.click(),
                                        h.UIMrg.close(p.BattlePanel),
                                        h.UIMrg.show(f.MainPanel),
                                        2 == this._type ?
                                        h.UIMrg.show(g.ActivityPanel) :
                                        h.UIMrg.show(_.ChapterPanel),
                                        h.UIMrg.close(this),
                                        d.PlayerMrg.ins.firstRound();
                                }),
                                (e.prototype.onTouchContinueHandler = function() {
                                    var t = this.getData().scene;
                                    t && t.resume(), u.SoundMrg.click(), h.UIMrg.close(this);
                                }),
                                (e.RES = new s.UIViewRes(
                                    'PauseView',
                                    'Battle',
                                    c.UILayer.PopLayer
                                )),
                                r([m('PausePanel')], e)
                            );
                        })(a.default));
                (o.PausePanel = v), console.log("end");
            module.exports =  e.exports;